inhomogeneous differential equation